package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2019-12-25
 */
public class Audit implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 审核人id
	 */
	@TableField(value="audit_user_id")
	private Integer auditUserId;

	/**
	 * 资源类型(0-课程 1-题目 2-网班,3-直播，4-微课，5-广告)
	 */
	private String type;

	/**
	 * 资源id
	 */
	@TableField(value="resource_id")
	private Integer resourceId;

	/**
	 * 审核内容
	 */
	private String content;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 提交人id
	 */
	@TableField(value="submit_user_id")
	private Integer submitUserId;

	/**
	 * 提交人用户名
	 */
	@TableField(value="submit_usre_name")
	private String submitUsreName;

	/**
	 * 审核人id
	 */
	@TableField(value="audit_user_name")
	private String auditUserName;

	/**
	 * 0注册、1注销、2上架、3下架
	 */
	@TableField(value="audit_type")
	private String auditType;

	/**
	 * 状态（0-待审核， 1=不通过，2=通过）
	 */
	private Integer status;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(Integer auditUserId) {
		this.auditUserId = auditUserId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getResourceId() {
		return resourceId;
	}

	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getSubmitUserId() {
		return submitUserId;
	}

	public void setSubmitUserId(Integer submitUserId) {
		this.submitUserId = submitUserId;
	}

	public String getSubmitUsreName() {
		return submitUsreName;
	}

	public void setSubmitUsreName(String submitUsreName) {
		this.submitUsreName = submitUsreName;
	}

	public String getAuditUserName() {
		return auditUserName;
	}

	public void setAuditUserName(String auditUserName) {
		this.auditUserName = auditUserName;
	}

	public String getAuditType() {
		return auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
